package com.ryskoo.catering.productattr.service;

import com.ryskoo.catering.productattr.domain.ProductAttrPO;
import com.ryskoo.framework.core.service.IBasicService;

import java.util.List;

public interface IProductAttrService extends IBasicService<ProductAttrPO> {
    /**
     * 根据商品主信息uuid删除属性数据
     * @param mainUuid
     */
    public void deleteByMainUuid(String mainUuid);

    /**
     * 根据商品id查询属性集合
     * @param mainUuid
     * @return
     */
    public List<ProductAttrPO> getAttrsByMainUuid(String mainUuid);

    /**
     * 根据商品主信息uuids查询属性uuids
     * @param mainUuids
     * @return
     */
    public List<String> getUuidsByMainUuids(List<String> mainUuids);


}
